package com.wejoy.video.middle.station.data.vo.workorder;

import java.util.List;

public class AnalysisResultDTO {


    /**
     * items : [{"score":0.6080469489097595,"location":{"left":800,"top":602,"width":244,"height":450},"name":"person","key":"wer-pb2kb7w1c1trf6rz","human":[{"score":0.6080469489097595,"name":"other-suit","location":{"left":811,"top":723,"width":224,"height":296}},{"score":0.9739624857902527,"name":"head-updo","location":{"left":886,"top":612,"width":113,"height":110}}],"qualityScore":0}]
     * item_count : 2
     * origin_image : {"width":1920,"height":1080}
     */

    private int item_count;
    private OriginImageBean origin_image;
    private List<ItemsBean> items;

    public int getItem_count() {
        return item_count;
    }

    public void setItem_count(int item_count) {
        this.item_count = item_count;
    }

    public OriginImageBean getOrigin_image() {
        return origin_image;
    }

    public void setOrigin_image(OriginImageBean origin_image) {
        this.origin_image = origin_image;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public static class OriginImageBean {
        /**
         * width : 1920
         * height : 1080
         */

        private int width;
        private int height;

        public int getWidth() {
            return width;
        }

        public void setWidth(int width) {
            this.width = width;
        }

        public int getHeight() {
            return height;
        }

        public void setHeight(int height) {
            this.height = height;
        }
    }

    public static class ItemsBean {
        /**
         * score : 0.6080469489097595
         * location : {"left":800,"top":602,"width":244,"height":450}
         * name : person
         * key : wer-pb2kb7w1c1trf6rz
         * human : [{"score":0.6080469489097595,"name":"other-suit","location":{"left":811,"top":723,"width":224,"height":296}},{"score":0.9739624857902527,"name":"head-updo","location":{"left":886,"top":612,"width":113,"height":110}}]
         * qualityScore : 0.0
         */

        private double score;
        private LocationBean location;
        private String name;
        private String key;
        private double qualityScore;
        private List<HumanBean> human;

        public double getScore() {
            return score;
        }

        public void setScore(double score) {
            this.score = score;
        }

        public LocationBean getLocation() {
            return location;
        }

        public void setLocation(LocationBean location) {
            this.location = location;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public double getQualityScore() {
            return qualityScore;
        }

        public void setQualityScore(double qualityScore) {
            this.qualityScore = qualityScore;
        }

        public List<HumanBean> getHuman() {
            return human;
        }

        public void setHuman(List<HumanBean> human) {
            this.human = human;
        }

        public static class LocationBean {
            /**
             * left : 800
             * top : 602
             * width : 244
             * height : 450
             */

            private int left;
            private int top;
            private int width;
            private int height;

            public int getLeft() {
                return left;
            }

            public void setLeft(int left) {
                this.left = left;
            }

            public int getTop() {
                return top;
            }

            public void setTop(int top) {
                this.top = top;
            }

            public int getWidth() {
                return width;
            }

            public void setWidth(int width) {
                this.width = width;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }
        }

        public static class HumanBean {
            /**
             * score : 0.6080469489097595
             * name : other-suit
             * location : {"left":811,"top":723,"width":224,"height":296}
             */

            private double score;
            private String name;
            private LocationBeanX location;

            public double getScore() {
                return score;
            }

            public void setScore(double score) {
                this.score = score;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public LocationBeanX getLocation() {
                return location;
            }

            public void setLocation(LocationBeanX location) {
                this.location = location;
            }

            public static class LocationBeanX {
                /**
                 * left : 811
                 * top : 723
                 * width : 224
                 * height : 296
                 */

                private int left;
                private int top;
                private int width;
                private int height;

                public int getLeft() {
                    return left;
                }

                public void setLeft(int left) {
                    this.left = left;
                }

                public int getTop() {
                    return top;
                }

                public void setTop(int top) {
                    this.top = top;
                }

                public int getWidth() {
                    return width;
                }

                public void setWidth(int width) {
                    this.width = width;
                }

                public int getHeight() {
                    return height;
                }

                public void setHeight(int height) {
                    this.height = height;
                }
            }
        }
    }
}